package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.GymCoach;

/**
 * 教练Mapper接口
 * 
 * @author ruoyi
 * @date 2024-04-22
 */
public interface GymCoachMapper 
{
    /**
     * 查询教练
     * 
     * @param coachId 教练主键
     * @return 教练
     */
    public GymCoach selectGymCoachByCoachId(Long coachId);

    /**
     * 查询教练列表
     * 
     * @param gymCoach 教练
     * @return 教练集合
     */
    public List<GymCoach> selectGymCoachList(GymCoach gymCoach);

    /**
     * 新增教练
     * 
     * @param gymCoach 教练
     * @return 结果
     */
    public int insertGymCoach(GymCoach gymCoach);

    /**
     * 修改教练
     * 
     * @param gymCoach 教练
     * @return 结果
     */
    public int updateGymCoach(GymCoach gymCoach);

    /**
     * 删除教练
     * 
     * @param coachId 教练主键
     * @return 结果
     */
    public int deleteGymCoachByCoachId(Long coachId);

    /**
     * 批量删除教练
     * 
     * @param coachIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGymCoachByCoachIds(String[] coachIds);


    List<GymCoach> selectGymCoachAll();
}
